/*
 * Project Name spring-boot-tools
 * File Name BaseDto
 * Package Name com.huxiaosu.tools.mybatis.base
 * Create Time 2024/7/15
 * Create by name：liujie
 */
package com.huxiaosu.tools.mybatis.base;

import com.huxiaosu.tools.common.base.extra.AbstractExpandableData;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * Description
 *
 * @author liujie
 * @date 2024/7/15 17:52
 */
@Data
public class BaseDto extends AbstractExpandableData implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /** 当前页 default = 1 */
    private Integer page = 1;

    /** 每页显示 default = 10 */
    private Integer pageSize = 10;

    /** 排序规则 default = desc */
    private String sortOrder = "desc";

    /** 排序字段 default = createTime */
    private String sortOrderField = "createDate";

    private Integer id;

}